package Test;

public class outerdemo {
    private  int num=10;
    public void  method(){
        int num=2;
        class  Inner{
            public void show(){
                System.out.println(num);
            }

        }
        Inner inner= new Inner();
        inner.show();
    }
}
